


// #region 数据定义


import type {PayProductsData} from "@/api/products/types";

export interface PayOrderItemsData {
          id?: string
          orderId?: string
          productId?: string
          quantity?: number
          price?: number
          subtotal?: number
}

export interface OrderItemsProduct extends PayOrderItemsData{
  product: PayProductsData
}


export interface PayOrderItemsReqData {
  searchKey?: string
}

// 分页请求参数
export interface PayOrderItemsReqPageData extends PayOrderItemsReqData {
  pageNo: number
  pageSize: number
}
// 分页响应数据
export type PayOrderItemsRespPageData = {
  list: PayOrderItemsData[]
  total: number
}

// 不分页请求参数
export interface PayOrderItemsReqListData extends PayOrderItemsReqData {
}
// 不分页响应数据
export type PayOrderItemsRespListData = PayOrderItemsData[]
// #endregion
